<?php

include_once "cart.class.php";
include_once "checkout.class.php";
/* PayFlow test */
//include_once "pfpro.class.php";

// ----------------------------------------------------------------------------
// --- [ Export code ] --------------------------------------------------------
// ----------------------------------------------------------------------------

function &cart_bbExport()
{
    $cart =& new Cart();
    
    $checkout =& new Checkout(&$cart);
    $cart->AddSubPlugin($checkout);

/*
    $pay = new mypfpro('imperium','imperium','VeriSign');
    $pay->sale(99.99,4111111111111111,07,2008);
    $pay->process();

	if ($pay->result['RESULT'] == '0'){
	print ('Success');
	}
	else {
	print ('Some Error');
	}
    print_r($pay->result);
*/
    return $cart;

}

?>